from rest_framework import serializers

from goods.models import Brand


class BrandSerializer(serializers.ModelSerializer):
    """
       Brand表序列化器
    """
    first_letter = serializers.CharField(max_length=1)

    class Meta:
        model = Brand
        fields = '__all__'
